home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat5 / job_limits.z / job_limits
Encoding:
Text File  |  2002-10-03  |  7.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. jjjjoooobbbb____lllliiiimmmmiiiittttssss((((5555))))                                                    jjjjoooobbbb____lllliiiimmmmiiiittttssss((((5555))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      job_limits, jobs - overview of job limits
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      Job limits software helps ensure that each user has access to the
  13.      appropriate amount of system resources such as CPU time and memory and
  14.      makes sure that users do not exceed their allotted amount.  Job limits
  15.      software can improve system throughput and utilization by restricting how
  16.      much of a machine each user can use.
  17.  
  18.      With the IRIX kernel job limits feature, all processes associated with a
  19.      particular login session or batch submission are encapsulated as a single
  20.      logical unit called a job.  The job is the container used to group
  21.      processes by login session.
  22.  
  23.      A job is a group of related processes all descended from a point of entry
  24.      process and identified by a unique job ID.  A job can contain multiple
  25.      process groups, sessions, or array sessions and all processes in one of
  26.      these subgroups are always contained within one job.
  27.  
  28.      Limits on resource usage are applied on a per user basis for a particular
  29.      job and these limits are enforced by the kernel.  All processes are
  30.      associated with a particular job and are identified by the job ID.  The
  31.      processes belonging to a particular job can be limited, controlled,
  32.      queried, and accounted for as a unit.  This allows a system administrator
  33.      to set job-specific limits on CPU time, memory, file space, and other
  34.      system resources.  The user limits database (ULDB) allows user-specific
  35.      limits for jobs.  If no ULDB is defined, job limits are the same for all
  36.      jobs. Work on a machine is submitted in a variety of ways, such as an
  37.      interactive login, a submission from a workload management system, a _cccc_rrrr_oooo_nnnn
  38.      job, or a remote access such as _rrrr_ssss_hhhh, _rrrr_cccc_pppp, or array services.  Each of
  39.      these points of entry create an original shell process and multiple
  40.      processes flow from that original point of entry.  The IRIX operating
  41.      system currently supports limits on how many system resources an
  42.      individual process can consume, but not on the aggregate of the processes
  43.      resulting from a point of entry process.  The kernel job provides a means
  44.      to limit the resource usage of all the processes resulting from a point
  45.      of entry.
  46.  
  47.      Not every process on the system is part of a job.  That is, only
  48.      processes which are started by a login initiator like _llll_oooo_gggg_iiii_nnnn, _rrrr_llll_oooo_gggg_iiii_nnnn, _rrrr_ssss_hhhh
  49.      and so on, get assigned a job ID.
  50.  
  51.      IRIX job limits have the following characteristics:
  52.  
  53.      +o   A job is an inescapable container.  A process cannot leave the job
  54.          nor can a new process be created outside the job without explicit
  55.          action, that is, a system call with root privilege.
  56.  
  57.      +o   Each new process inherits the job ID and limits from its parent
  58.          process.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. jjjjoooobbbb____lllliiiimmmmiiiittttssss((((5555))))                                                    jjjjoooobbbb____lllliiiimmmmiiiittttssss((((5555))))
  71.  
  72.  
  73.  
  74.      +o   All point of entry processes (job initiators) create a new job and
  75.          set the job limits appropriately.
  76.  
  77.      +o   Users can raise and lower their own job limits within maximum values
  78.          specified by the system administrator.
  79.  
  80.      +o   The job initiator performs authentication and security checks.
  81.  
  82.      +o   The process control initialization process (_iiii_nnnn_iiii_tttt(1M)) and startup
  83.          scripts called by _iiii_nnnn_iiii_tttt are not part of a job and have a job ID of
  84.          zero.
  85.  
  86.      Job initiators can be categorized as either interactive or batch
  87.      processes.  Limit domain names are defined by the system administrator
  88.      when the user limits database (ULDB) is created.
  89.  
  90.      _NNNN_oooo_tttt_eeee_:::: The existing IRIX commands _jjjj_oooo_bbbb_ssss(1), _ffff_gggg(1), and _bbbb_gggg(1) man pages
  91.      apply to shell "jobs" and are not related to IRIX kernel job limits.
  92.  
  93.      For information about the application programming interface (API) for job
  94.      limits and the ULDB, see _I_R_I_X _A_d_m_i_n: _R_e_s_o_u_r_c_e _A_d_m_i_n_i_s_t_r_a_t_i_o_n.
  95.  
  96. FFFFIIIILLLLEEEESSSS
  97.      _////_uuuu_ssss_rrrr_////_eeee_tttt_cccc                        Contains the job limits administrator
  98.                                      command, _gggg_eeee_nnnn_llll_iiii_mmmm_iiii_tttt_ssss
  99.  
  100.      _////_uuuu_ssss_rrrr_////_bbbb_iiii_nnnn                        Contains the job limits  user commands,
  101.                                      _jjjj_llll_iiii_mmmm_iiii_tttt,_jjjj_ssss_tttt_aaaa_tttt, and _ssss_hhhh_oooo_wwww_llll_iiii_mmmm_iiii_tttt_ssss
  102.  
  103.      _////_eeee_tttt_cccc_////_jjjj_llll_iiii_mmmm_iiii_tttt_ssss_...._iiii_nnnn                 ULDB configuration file
  104.  
  105.      _////_eeee_tttt_cccc_////_jjjj_llll_iiii_mmmm_iiii_tttt_ssss_...._mmmm                  Local ULDB mdbm file
  106.  
  107.      _////_eeee_tttt_cccc_////_jjjj_llll_iiii_mmmm_iiii_tttt_ssss                    The _jjjj_llll_iiii_mmmm_iiii_tttt_ssss_...._iiii_nnnn file is parsed into the
  108.                                      colon delimited _jjjj_llll_iiii_mmmm_iiii_tttt_ssss file, which is
  109.                                      used to load job limits into the local
  110.                                      ULDB _jjjj_llll_iiii_mmmm_iiii_tttt_ssss_...._mmmm file or into the NIS
  111.                                      master map.
  112.  
  113. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  114.      genlimits(1M), jlimit(1), jobs(1), jstat(1), showlimits(1).
  115.  
  116.      _IIII_RRRR_IIII_XXXX _AAAA_dddd_mmmm_iiii_nnnn_:::: _RRRR_eeee_ssss_oooo_uuuu_rrrr_cccc_eeee _AAAA_dddd_mmmm_iiii_nnnn_iiii_ssss_tttt_rrrr_aaaa_tttt_iiii_oooo_nnnn
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.